<?php echo(form_error('nome'));?>
<?php echo(form_error('email'));?>
<?php echo(form_error('datanascimento'));?>
<form action="<?php echo $action; ?>" method="post">
	<table border="1">
		<tr>
			<td>* Nome:</td>
			<td><input type="text" name="nome" maxlength="200" required="required" value="<?php echo(set_value('nome')); echo((isset($cliente->tx_nome))? $cliente->tx_nome :'');?>" /></td>
		</tr>
		<tr>
			<td>E-mail:</td>
			<td><input type="email" name="email" maxlength="100" value="<?php echo(set_value('email')); echo((isset($cliente->tx_email))?$cliente->tx_email:'');?>" /></td>
		</tr>
		<tr>
			<td>Data de nascimento:</td>
			<td><input type="text" name="datanascimento" maxlength="10" value="<?php echo(set_value('datanascimento')); echo((isset($cliente->dt_nascimento))?$cliente->dt_nascimento:'');?>" />Ex: 01-01-2012</td>
		</tr>
		<tr>
			<td></td>
			<td><input type="submit" value="Salvar"/></td>
		</tr>
	</table>
</form>
* campos obrigatorios